.date-select {
  position: relative;
  display: inline-block;
  width: 118px;
  height: 28px;

  input {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    outline: none;
    height: 26px;
    line-height: 26px;
    width: 100%;
    font-size: 12px;
    text-indent: 20px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    color: #606266;
    z-index: 1;
  }

  i {
    position: absolute;
    right: 2px;
    top: -5px;
    z-index: 9;
    color: #999;
    cursor: pointer;
  }

  .content {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0 !important;
    max-height: 450px;
    overflow: auto;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    .year {
      position: relative;
      height: 30px;
      border-bottom: 1px solid #e4e7ed;

      div {
        position: absolute;
        top: 2px;
        left: 0;
        right: 0;
        text-align: center;
        height: 26px;
        line-height: 26px;
        font-size: 14px;
        color: #333;
      }

      i {
        position: absolute;
        top: 2px;
        z-index: 9;
        color: #999;
        cursor: pointer;
        width: 26px;
        height: 26px;
        line-height: 26px;
      }

      .el-icon-arrow-left {
        left: 2px;
      }

      .el-icon-arrow-right {
        right: 2px;
      }
    }

    ul {
      margin-top: 10px;
      margin-bottom: 10px;

      li {
        cursor: pointer;
        padding-left: 20px;
        line-height: 30px;
        font-size: 14px;
        color: #595959;
      }

      li.active {
        color: #409eff;
        font-weight: 700;
      }

      li:hover {
        background: #f5f7fa;
      }
    }
  }
}
